<template>
  <el-row class="tac">
    <el-col :span="24">
      <el-menu
          router
          default-active="/"
          class="el-menu-vertical-demo">
        <el-sub-menu index="1">
          <template #title>
            <el-icon><Location/></el-icon>
            <span>学生管理</span>
          </template>
          <el-menu-item index="/">
            <el-icon><Menu/></el-icon>
            <span>学生列表</span>
          </el-menu-item>
          <el-menu-item index="/test">
            <el-icon><SwitchButton/></el-icon>
            <span>测试</span>
          </el-menu-item>
        </el-sub-menu>
      </el-menu>
      <el-menu

          default-active="2"
          class="el-menu-vertical-demo">
        <el-sub-menu index="2">
          <template #title>
            <el-icon>
              <Setting/>
            </el-icon>
            <span>系统管理</span>
          </template>
          <el-menu-item index="1-1">
            <el-icon>
              <Warning/>
            </el-icon>
            item one
          </el-menu-item>
          <el-menu-item index="1-2">
            <el-icon>
              <Warning/>
            </el-icon>
            item two
          </el-menu-item>
        </el-sub-menu>
      </el-menu>


    </el-col>
  </el-row>
</template>

<script>

import {Location,Setting, Menu, SwitchButton, Warning} from '@element-plus/icons-vue'

export default {
  name: "AsideView",
  components: {
    Setting,
    Menu,
    SwitchButton,
    Warning,
    Location
  }
}

</script>

<style scoped lang="scss">

</style>